import request from '@/utils/request'

/**
 * 商品分析分页查询 /api/data/goodsAnalysis/paging
 */
export function goodsAnalysis(data) {
  return request({
    url: '/data/goodsAnalysis/paging',
    method: 'get',
    params: data
  })
}

/**
 * 用户分析数据列表 /api/data/userAnalysis/listMemberAnalysis
 */
export function userAnalysis(data) {
  return request({
    url: '/data/userAnalysis/listMemberAnalysis',
    method: 'get',
    params: data
  })
}

/**
 * 用户分析查询 /api/data/userAnalysis/statMemberAnalysis
 */
export function statMemberAnalysis(data) {
  return request({
    url: '/data/userAnalysis/statMemberAnalysis',
    method: 'get',
    params: data
  })
}
/**
 * 主播分析查询 /api/data/userAnalysis/pageAnchorAnalysis
 */
export function anchorAnalysis(data) {
  return request({
    url: '/data/userAnalysis/pageAnchorAnalysis',
    method: 'get',
    params: data
  })
}

/**
 * 供应商分析数据查询 /api/data/userAnalysis/pageSupplierAnalysis
 */
export function pageSupplierAnalysis(data) {
  return request({
    url: '/data/userAnalysis/pageSupplierAnalysis',
    method: 'get',
    params: data
  })
}

/**
 * 获取供应商详情 /api/data/userAnalysis/getSupplier
 */
export function getSupplier(data) {
  return request({
    url: '/data/userAnalysis/getSupplier',
    method: 'get',
    params: data
  })
}

/**
 * 供应商商品数据分页 /api/data/userAnalysis/pageSupplierGoods
 */
export function pageSupplierGoods(data) {
  return request({
    url: '/data/userAnalysis/pageSupplierGoods',
    method: 'get',
    params: data
  })
}

